package com.zjm.structural.facade;

public class TheaterLight {
    // 饿汉式单例模式
    private static final TheaterLight instance = new TheaterLight();

    private TheaterLight() {

    }

    public static TheaterLight getInstance() {
        return instance;
    }


    public void dim() {
        System.out.println("TheaterLight DIM");
    }

    public void bright() {
        System.out.println("TheaterLight BRIGHT");
    }
}
